<?php

namespace Tests;

use App\Common\WX\App\test\text;
use PHPUnit\Framework\TestCase;

class test_wx extends TestCase
{
    function test_wx_center()
    {
//        $msg = new RequestMsg();
//        $msg->setMsgType('text');
//        $msg->setContent('test$123');
//
//        $app = new WxCenter($msg);
//        $r = $app->funcHandle();

        $x = new text();
        var_dump($x);
        $class_name = 'App\Common\WX\App\test\text';
        if (class_exists($class_name))
        {
            $reflectObj = new \ReflectionClass($class_name);
            $classInstance = $reflectObj->newInstance();
            var_dump($classInstance);
        }

        $this->assertTrue(true, '123');
    }
}